<template>
	<view>
		<u-navbar :border-bottom="false" title="法律声明" :title-size="36" :title-bold="true" :title-color="textColor" :background="{background: bgColor}"></u-navbar>
		<view class="u-m-b-20">
			<u-cell-group :border="false">
				<u-cell-item v-for="(item,index) in list" :key="index" :title="item.name" @click="$mRouter.push({ route: '/pages/mine/shezhi/lawDetail?id=' + item.id + '&name=' + item.name })"></u-cell-item>
			</u-cell-group>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list: []
			}
		},
		onLoad() {
			// 获取文本列表
			this.getTextInfoApp()
		},
		methods: {
			async getTextInfoApp() {
				const res = await this.$http.get('api/Text/GetTextInfoApp')
				this.list = res
			}
		}
	}
</script>

<style>
	page {
		background-color: #FFFFFF;
	}
</style>
